package com.geeksaga.dao;

import java.util.List;


import org.springframework.dao.DataAccessException;

import com.geeksaga.domain.Counter;

/**
 * @author newbie
 * @since 0.1
 */
public interface CounterDao {

    /**
     * @param counter
     * @return
     * @throws DataAccessException
     */
    public CounterDao add(Counter counter) throws DataAccessException;
    
    /**
     * @return
     * @throws DataAccessException
     */
    public List<Counter> list() throws DataAccessException;
}